package com.markerhub.service;

import javax.servlet.http.HttpServletResponse;

import com.markerhub.common.lang.Result;
import com.markerhub.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.coyote.Response;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 关注公众号：MarkerHub
 * @since 2022-03-23
 */
public interface UserService extends IService<User> {

    String register(User user);

    Result Login(String username, String password, HttpServletResponse response);

    Map<String,String> policy();
}
